<?php 
defined('BASEPATH') OR exit('No direct script access allowed');

class Index extends MY_Controller {
	public function __construct(){
		parent::__construct();
		$this ->load ->database();
		$this ->load ->helper('url');	
	}
	// 后台主页
	public function index()
	{

		$this->load->view('admin/index');
	}

	// 内容
	public function main()
	{
		 $this->load->view('admin/main');
	}
	// 左部
	public function left()
	{
		$this ->load ->view('admin/left'); 
	}
	// 头部
	public function head()
	{
		$this ->load ->view('admin/head'); 
	}

	
	
}






 ?>